# $Id: PKGBUILD 149521 2012-02-08 11:18:26Z tpowa $
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>

pkgname=rpmextract
pkgver=1.0
pkgrel=5
pkgdesc="Script to convert or extract RPM archives (contains rpm2cpio)"
url="http://www.archlinux.org"
arch=('any')
license=('GPL')
depends=('bash' 'libarchive' 'coreutils')
source=('rpmextract.sh' 'rpm2cpio')
md5sums=('a7b527e4c210e66ef72532c606072e0d'
         '57a4e99bedcefadc2f89006ce98d2e60')

package() {
  install -d ${pkgdir}/usr/bin
  install -m755 ${srcdir}/rpmextract.sh ${pkgdir}/usr/bin/
  install -m755 ${srcdir}/rpm2cpio ${pkgdir}/usr/bin/
}
